package com.sfh.gd.exception;

/**
 * 客户端异常
 *
 */
public class ClientException extends AbstractException {


    public ClientException(String errorMessage) {
        super(errorMessage);
    }

    public ClientException(int errorCode, String errorMessage) {
        super(errorCode, errorMessage);
    }

    public ClientException(String errorMessage, Throwable throwable) {
        super(errorMessage, throwable);
    }

    public ClientException(int errorCode, String errorMessage, Throwable throwable) {
        super(errorCode, errorMessage, throwable);
    }

    @Override
    public String toString() {
        return "ClientException{" +
                "code='" + errorCode + "'," +
                "message='" + errorMessage + "'" +
                '}';
    }
}